<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h2>用户注册</h2>
    <form action="" method="post" enctype="multipart/form-data">
        用户名：<input type="text" name="username" value="tom" readonly disabled> <br>
        邮箱：<input type="text" name="email" placeholder="请输入您的邮箱"> <br>
        密码：<input type="password" name="password" placeholder="请输入您的密码"> <br>
        性别：<input type="radio" name="sex" value="male" checked>男
             <input type="radio" name="sex" value="female">女 <br>
        爱好：<input type="checkbox" name="hobbies" value="eat" checked>吃饭
             <input type="checkbox" name="hobbies" value="sleep" checked>睡觉
             <input type="checkbox" name="hobbies" value="game">打游戏 <br>
        头像：<input type="file" name="avatar" accept=".jpg, .jpeg, .png, .gif, .bmp"> 
        <input type="hidden" name="id" value="9527"> <br>
        学历：   <select name="degree">
                    <option value="0">--请选择学历--</option>
                    <option value="1">大专</option>
                    <option value="2" selected>本科</option>
                    <option value="3">硕士</option>
                    <option value="4">博士</option>
                </select> <br>
        简介：<textarea name="infor" rows="5" cols="20"></textarea> <br>

        <input type="submit" value="注册">
        <input type="reset" value="重置">
        <input type="button" value="普通按钮">
    </form> 
</body>
</html>